﻿using Abp.Modules;
using Abp.Reflection.Extensions;
using Mt.Site.Core;

namespace Mt.Site.Application
{
    [DependsOn(
        typeof(MtSiteCoreModule),
        typeof(MtSiteApplicationBaseModule)
        )]
    public class MtSiteApplicationModule : AbpModule
    {
        public override void PreInitialize()
        {
            //自定义拦截器
            //InterceptorRegistrar.Initialize(IocManager);
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(typeof(MtSiteApplicationModule).GetAssembly());
        }
    }
}